package com.example.springbootvalidated.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;
/**
 * Created by IntelliJ IDEA2022.3.2
 * @Author: Tenghw
 * @Date: 2023/05/04  18:59
 * @Description: 返回的错误信息定义在该枚举中
 */
@Getter
@ToString
@AllArgsConstructor
public enum ErrorCodeEnum {
    PARAM_ERROR(10001,"参数错误");
    private Integer code;
    private String msg;
}

